Skip to content

Conversation

nikomatsakis
Copy link
Contributor

@aidancully
Copy link

One obvious alternative: "always require braces"? It would make closures more synchronous with function definitions, but is of course an annoying breaking change.

@blaenk
Copy link
Contributor

blaenk commented Mar 12, 2015

I'm fine with this niko. 👍

@Ericson2314
Copy link
Contributor

Looks good. Always requiring braces would probably be too heavy.

@brson brson merged commit 2698af8 into rust-lang:master Mar 16, 2015
@brson
Copy link
Contributor

brson commented Mar 16, 2015

Minor uncontroversial fix. Merged.

Tracking issue.

@Centril Centril added A-syntax Syntax related proposals & ideas A-closures Proposals relating to closures / lambdas. labels Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-closures Proposals relating to closures / lambdas. A-syntax Syntax related proposals & ideas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants